<?
require_once('php/carbox.php');
if(!carbox_check_session( ))
	header('Location: login.php');
$pid = "";
isset($_GET['pid']) and $pid = $_GET['pid'];
?>
<!DOCTYPE html>
<html lang="pt">
	<head>
		<meta charset="utf8" />
		<title>Carbox</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta name="description" content="Sistema de visualização de documentos digitalizados" />
		<meta name="author" content="Thiago Medeiros de Menezes" />
		<link href="js/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
		<link href="https://fonts.googleapis.com/css?family=Days+One" rel="stylesheet" type="text/css">
		<link href="css/carbox/carbox.css" rel="stylesheet" type='text/css' />
		<link rel="shortcut icon" href="imgs/logo.png">
		<link rel="apple-touch-icon-precomposed" sizes="144x144" href="imgs/logo.png">
		<link rel="apple-touch-icon-precomposed" sizes="114x114" href="imgs/logo.png">
		<link rel="apple-touch-icon-precomposed" sizes="72x72" href="imgs/logo.png">
		<link rel="apple-touch-icon-precomposed" href="imgs/logo.png">
		<style type="text/css" title="currentStyle">
			@import "js/datatables/media/css/demo_page.css";
			@import "js/datatables/media/css/demo_table_jui.css";
		</style>
	</head>
	<body>
		<div class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container">
					<a class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					</a>
					<a class="brand carbox-logotype" href="#carbox">CARBOX</a>
					<div class="nav-collapse collapse">
						<div class="navbar-search">
							<div class="input-prepend" >
								<span class="add-on rounded-left"><i class="icon-search" id="search"></i></span>
								<input type="text" name="param" class="rounded-right span7" id="input-search" placeholder="Pesquisar" />
							</div>
						</div>
						<ul class="nav">
							<li><a href="http://200.149.240.140/default_cerberus.asp">Cerberus</a></li>
							<li><a href="php/account/sign_out.php">Sair</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div id="content" style="margin-left: 1%; width: 98%"></div>
		<!-- <footer style="font-size: 8px; position:fixed; left: 5px; bottom: 5px; color: #d8d8d8;">Desenvolvido por Thiago Medeiros de Menezes</footer> -->
		<script type="text/javascript" src="js/jquery/jquery-latest.min.js"></script>
		<script type="text/javascript" src="js/jquery-ui/jquery-ui-1.10.1.custom.min.js"></script>
		<script type="text/javascript" src="https://www.google.com/jsapi"></script>
		<script type="text/javascript" src="js/bootstrap/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="js/datatables/media/js/jquery.dataTables.js"></script>
		<script type="text/javascript" src="js/carbox/carbox.js"></script>
		<script type="text/javascript"> $(carbox_index("<?=$pid?>")); </script>
	</body>
</html>
